package domain;

import org.apache.ibatis.type.Alias;

@Alias("user")
public class User extends BaseBean {
    private String name;
    private String admin;
    private String password;
    private Integer number;
    private String useraccount;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getUseraccount() {
        return useraccount;
    }

    public void setUseraccount(String useraccount) {
        this.useraccount = useraccount;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", admin='" + admin + '\'' +
                ", password='" + password + '\'' +
                ", number=" + number +
                ", useraccount='" + useraccount + '\'' +
                "} " + super.toString();
    }
}

